<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arduino MIDI File Parser: midi::MidiFileParser Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Arduino MIDI File Parser
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>midi</b></li><li class="navelem"><a class="el" href="classmidi_1_1MidiFileParser.html">MidiFileParser</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classmidi_1_1MidiFileParser-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">midi::MidiFileParser Class Reference<div class="ingroups"><a class="el" href="group__midifile.html">Midi File Parser</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Midi File parser. Provide the data via write: You should try to keep the buffer as full as possible while parsing. You get the next parsing result by calling the <a class="el" href="classmidi_1_1MidiFileParser.html#a0c4097975bcf7c4a1d19c377943bf227" title="Parse data in order to provide the next midi element.">parse()</a> method.  
 <a href="classmidi_1_1MidiFileParser.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="MidiFileParser_8h_source.html">MidiFileParser.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for midi::MidiFileParser:</div>
<div class="dyncontent">
<div class="center"><img src="classmidi_1_1MidiFileParser__inherit__graph.png" border="0" usemap="#amidi_1_1MidiFileParser_inherit__map" alt="Inheritance graph"/></div>
<map name="amidi_1_1MidiFileParser_inherit__map" id="amidi_1_1MidiFileParser_inherit__map">
<area shape="rect" title="Midi File parser. Provide the data via write: You should try to keep the buffer as full as possible w..." alt="" coords="5,80,156,107"/>
<area shape="rect" href="classmidi_1_1Print.html" title=" " alt="" coords="36,5,125,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for midi::MidiFileParser:</div>
<div class="dyncontent">
<div class="center"><img src="classmidi_1_1MidiFileParser__coll__graph.png" border="0" usemap="#amidi_1_1MidiFileParser_coll__map" alt="Collaboration graph"/></div>
<map name="amidi_1_1MidiFileParser_coll__map" id="amidi_1_1MidiFileParser_coll__map">
<area shape="rect" title="Midi File parser. Provide the data via write: You should try to keep the buffer as full as possible w..." alt="" coords="585,100,736,127"/>
<area shape="rect" href="classmidi_1_1Print.html" title=" " alt="" coords="323,68,413,95"/>
<area shape="rect" href="structmidi_1_1midi__parser__state.html" title="MIDI Parser State Information." alt="" coords="280,132,456,159"/>
<area shape="rect" href="structmidi_1_1midi__sysex__event.html" title="MIDI Sysex Event Information." alt="" coords="5,5,183,32"/>
<area shape="rect" href="structmidi_1_1midi__header.html" title="MIDI Header Information." alt="" coords="24,56,164,83"/>
<area shape="rect" href="structmidi_1_1midi__meta__event.html" title="MIDI Metadata Event Information." alt="" coords="7,107,181,133"/>
<area shape="rect" href="classmidi_1_1RingBuffer.html" title="RingBuffer that supports extensive peek operations to access and compare the next values." alt="" coords="31,157,157,184"/>
<area shape="rect" href="structmidi_1_1midi__midi__event.html" title="MIDI Event Information." alt="" coords="10,208,178,235"/>
<area shape="rect" href="structmidi_1_1midi__track.html" title="MIDI Track Information." alt="" coords="30,259,158,285"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aabf9f00c6bb20006a33690ce1ae27dd6"><td class="memItemLeft" align="right" valign="top"><a id="aabf9f00c6bb20006a33690ce1ae27dd6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#aabf9f00c6bb20006a33690ce1ae27dd6">begin</a> (bool log=true, int bufferSize=MIDI_BUFFER_SIZE)</td></tr>
<tr class="memdesc:aabf9f00c6bb20006a33690ce1ae27dd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes &amp; starts the processing. <br /></td></tr>
<tr class="separator:aabf9f00c6bb20006a33690ce1ae27dd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07715f1a1c9e307c7a734130964e26f9"><td class="memItemLeft" align="right" valign="top"><a id="a07715f1a1c9e307c7a734130964e26f9"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>write</b> (uint8_t c) override</td></tr>
<tr class="separator:a07715f1a1c9e307c7a734130964e26f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab10d13081d391398ec80bf2ad3a2abfe"><td class="memItemLeft" align="right" valign="top"><a id="ab10d13081d391398ec80bf2ad3a2abfe"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#ab10d13081d391398ec80bf2ad3a2abfe">write</a> (const uint8_t *data, size_t len)</td></tr>
<tr class="memdesc:ab10d13081d391398ec80bf2ad3a2abfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Feed/Provide the midi data to the parser. <br /></td></tr>
<tr class="separator:ab10d13081d391398ec80bf2ad3a2abfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1046f0985de526640c1ddaaebfcff943"><td class="memItemLeft" align="right" valign="top"><a id="a1046f0985de526640c1ddaaebfcff943"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#a1046f0985de526640c1ddaaebfcff943">availableForWrite</a> ()</td></tr>
<tr class="memdesc:a1046f0985de526640c1ddaaebfcff943"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max number of bytes that we can write. <br /></td></tr>
<tr class="separator:a1046f0985de526640c1ddaaebfcff943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c4097975bcf7c4a1d19c377943bf227"><td class="memItemLeft" align="right" valign="top"><a id="a0c4097975bcf7c4a1d19c377943bf227"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#a0c4097975bcf7c4a1d19c377943bf227">parse</a> ()</td></tr>
<tr class="memdesc:a0c4097975bcf7c4a1d19c377943bf227"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse data in order to provide the next midi element. <br /></td></tr>
<tr class="separator:a0c4097975bcf7c4a1d19c377943bf227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abda7a373f6add06597bd3d2b045100d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#abda7a373f6add06597bd3d2b045100d1">parseTimed</a> ()</td></tr>
<tr class="separator:abda7a373f6add06597bd3d2b045100d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a6b1adb28b63f814a8f6da60da8cc51"><td class="memItemLeft" align="right" valign="top"><a id="a2a6b1adb28b63f814a8f6da60da8cc51"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#a2a6b1adb28b63f814a8f6da60da8cc51">operator bool</a> ()</td></tr>
<tr class="memdesc:a2a6b1adb28b63f814a8f6da60da8cc51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns false after an error or when all data has been consumed. <br /></td></tr>
<tr class="separator:a2a6b1adb28b63f814a8f6da60da8cc51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae07e5e7161eb4931f09413165f8b70ef"><td class="memItemLeft" align="right" valign="top"><a id="ae07e5e7161eb4931f09413165f8b70ef"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#ae07e5e7161eb4931f09413165f8b70ef">end</a> ()</td></tr>
<tr class="memdesc:ae07e5e7161eb4931f09413165f8b70ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends the processing: currently does nothing. <br /></td></tr>
<tr class="separator:ae07e5e7161eb4931f09413165f8b70ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a310bc896190fd0166e06e08eea6dd5"><td class="memItemLeft" align="right" valign="top"><a id="a6a310bc896190fd0166e06e08eea6dd5"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#a6a310bc896190fd0166e06e08eea6dd5">midi_status_name</a> (int status)</td></tr>
<tr class="memdesc:a6a310bc896190fd0166e06e08eea6dd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the string description for the midi_status value. <br /></td></tr>
<tr class="separator:a6a310bc896190fd0166e06e08eea6dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a810b3ac596ac34dddc2f63b902e6b3ad"><td class="memItemLeft" align="right" valign="top"><a id="a810b3ac596ac34dddc2f63b902e6b3ad"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#a810b3ac596ac34dddc2f63b902e6b3ad">midi_file_format_name</a> (int fmt)</td></tr>
<tr class="memdesc:a810b3ac596ac34dddc2f63b902e6b3ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the string description for the file format. <br /></td></tr>
<tr class="separator:a810b3ac596ac34dddc2f63b902e6b3ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2889997844f7c448badf62c33bc5d17e"><td class="memItemLeft" align="right" valign="top"><a id="a2889997844f7c448badf62c33bc5d17e"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1MidiFileParser.html#a2889997844f7c448badf62c33bc5d17e">midi_meta_name</a> (int type)</td></tr>
<tr class="memdesc:a2889997844f7c448badf62c33bc5d17e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the string description for the midi_meta value. <br /></td></tr>
<tr class="separator:a2889997844f7c448badf62c33bc5d17e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a77016a722463f639a3d7d40634d0e7c3"><td class="memItemLeft" align="right" valign="top"><a id="a77016a722463f639a3d7d40634d0e7c3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setState</b> (midi_parser_status state)</td></tr>
<tr class="separator:a77016a722463f639a3d7d40634d0e7c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23e0cf4edc75f7be76e71ebf766106bb"><td class="memItemLeft" align="right" valign="top"><a id="a23e0cf4edc75f7be76e71ebf766106bb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>logStatus</b> (midi_parser_status status)</td></tr>
<tr class="separator:a23e0cf4edc75f7be76e71ebf766106bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a506c67f4a17df789d806c9cfb59ce197"><td class="memItemLeft" align="right" valign="top"><a id="a506c67f4a17df789d806c9cfb59ce197"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
<tr class="separator:a506c67f4a17df789d806c9cfb59ce197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8515cda0fb1c66a50aabce5a82814fe9"><td class="memItemLeft" align="right" valign="top"><a id="a8515cda0fb1c66a50aabce5a82814fe9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>midi_event_datalen</b> (int status)</td></tr>
<tr class="separator:a8515cda0fb1c66a50aabce5a82814fe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f68eca4e46229ed7edcbcbb8fcb92b"><td class="memItemLeft" align="right" valign="top"><a id="ac3f68eca4e46229ed7edcbcbb8fcb92b"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_be16</b> (const uint8_t *in)</td></tr>
<tr class="separator:ac3f68eca4e46229ed7edcbcbb8fcb92b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad81432181ae5263e68a79013a04d6f63"><td class="memItemLeft" align="right" valign="top"><a id="ad81432181ae5263e68a79013a04d6f63"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_be32</b> (const uint8_t *in)</td></tr>
<tr class="separator:ad81432181ae5263e68a79013a04d6f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39cfbeed46f0101eb46bf73a506eadef"><td class="memItemLeft" align="right" valign="top"><a id="a39cfbeed46f0101eb46bf73a506eadef"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_N</b> (const uint8_t *from_bytes, int len)</td></tr>
<tr class="separator:a39cfbeed46f0101eb46bf73a506eadef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfc1ade33e5272155585b9bc8442ca31"><td class="memItemLeft" align="right" valign="top"><a id="abfc1ade33e5272155585b9bc8442ca31"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_variable_length</b> (int32_t *offset)</td></tr>
<tr class="separator:abfc1ade33e5272155585b9bc8442ca31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab085548c8ddd3cd0b2abbf5d190a9bf2"><td class="memItemLeft" align="right" valign="top"><a id="ab085548c8ddd3cd0b2abbf5d190a9bf2"></a>
enum midi_parser_status&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_header</b> ()</td></tr>
<tr class="separator:ab085548c8ddd3cd0b2abbf5d190a9bf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3f1ed72a909c94bb5bce3bbb54deec8"><td class="memItemLeft" align="right" valign="top"><a id="ae3f1ed72a909c94bb5bce3bbb54deec8"></a>
enum midi_parser_status&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_track</b> ()</td></tr>
<tr class="separator:ae3f1ed72a909c94bb5bce3bbb54deec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae6bd7803925d26cb03c0be03023bb2"><td class="memItemLeft" align="right" valign="top"><a id="afae6bd7803925d26cb03c0be03023bb2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_vtime</b> ()</td></tr>
<tr class="separator:afae6bd7803925d26cb03c0be03023bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a928812557b81cfb93ded6690eb520849"><td class="memItemLeft" align="right" valign="top"><a id="a928812557b81cfb93ded6690eb520849"></a>
enum midi_parser_status&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_channel_event</b> ()</td></tr>
<tr class="separator:a928812557b81cfb93ded6690eb520849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b8dead61fd7f2ffe7098a53680565e9"><td class="memItemLeft" align="right" valign="top"><a id="a2b8dead61fd7f2ffe7098a53680565e9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_sysex_event</b> ()</td></tr>
<tr class="separator:a2b8dead61fd7f2ffe7098a53680565e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7369ad49ee9dd1d8c18310237d932b5"><td class="memItemLeft" align="right" valign="top"><a id="ad7369ad49ee9dd1d8c18310237d932b5"></a>
enum midi_parser_status&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_meta_event</b> ()</td></tr>
<tr class="separator:ad7369ad49ee9dd1d8c18310237d932b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af42bf27d7f9ea370560d689afa68e28b"><td class="memItemLeft" align="right" valign="top"><a id="af42bf27d7f9ea370560d689afa68e28b"></a>
enum midi_parser_status&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse_event</b> ()</td></tr>
<tr class="separator:af42bf27d7f9ea370560d689afa68e28b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2ec7db6ab0e3c82ab07bc57ae4b7223"><td class="memItemLeft" align="right" valign="top"><a id="af2ec7db6ab0e3c82ab07bc57ae4b7223"></a>
enum midi_parser_status&#160;</td><td class="memItemRight" valign="bottom"><b>midi_parse</b> ()</td></tr>
<tr class="separator:af2ec7db6ab0e3c82ab07bc57ae4b7223"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab37301a21f557e0d97eb8e745afff680"><td class="memItemLeft" align="right" valign="top"><a id="ab37301a21f557e0d97eb8e745afff680"></a>
friend&#160;</td><td class="memItemRight" valign="bottom"><b>MidiFileParserMultiTrack</b></td></tr>
<tr class="separator:ab37301a21f557e0d97eb8e745afff680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35df661f71c22e82b6ac841c5f7cc635"><td class="memItemLeft" align="right" valign="top"><a id="a35df661f71c22e82b6ac841c5f7cc635"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>log_active</b> = false</td></tr>
<tr class="separator:a35df661f71c22e82b6ac841c5f7cc635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae00bbbea08ab46858cb16e894438335b"><td class="memItemLeft" align="right" valign="top"><a id="ae00bbbea08ab46858cb16e894438335b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>write_len</b> = 256</td></tr>
<tr class="separator:ae00bbbea08ab46858cb16e894438335b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac58fa053cb2e3b13e2731c61aacd1803"><td class="memItemLeft" align="right" valign="top"><a id="ac58fa053cb2e3b13e2731c61aacd1803"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&#160;</td><td class="memItemRight" valign="bottom"><b>parser_state</b></td></tr>
<tr class="separator:ac58fa053cb2e3b13e2731c61aacd1803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f9f62b81a5d3138b2a8291e3c11f00e"><td class="memItemLeft" align="right" valign="top"><a id="a3f9f62b81a5d3138b2a8291e3c11f00e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_ok</b> = true</td></tr>
<tr class="separator:a3f9f62b81a5d3138b2a8291e3c11f00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42595d52bc29171251497ec0b1157304"><td class="memItemLeft" align="right" valign="top"><a id="a42595d52bc29171251497ec0b1157304"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>track_no</b> = 0</td></tr>
<tr class="separator:a42595d52bc29171251497ec0b1157304"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a778f50becae859294a48302ec9c18f"><td class="memItemLeft" align="right" valign="top"><a id="a6a778f50becae859294a48302ec9c18f"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&#160;</td><td class="memItemRight" valign="bottom"><b>not_ready</b> {MIDI_PARSER_DELAY}</td></tr>
<tr class="separator:a6a778f50becae859294a48302ec9c18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c0ebe269da75ecc81508cea308645b5"><td class="memItemLeft" align="right" valign="top"><a id="a5c0ebe269da75ecc81508cea308645b5"></a>
<a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&#160;</td><td class="memItemRight" valign="bottom"><b>eob</b> {MIDI_PARSER_EOB}</td></tr>
<tr class="separator:a5c0ebe269da75ecc81508cea308645b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Midi File parser. Provide the data via write: You should try to keep the buffer as full as possible while parsing. You get the next parsing result by calling the <a class="el" href="classmidi_1_1MidiFileParser.html#a0c4097975bcf7c4a1d19c377943bf227" title="Parse data in order to provide the next midi element.">parse()</a> method. </p>
<dl class="section author"><dt>Author</dt><dd>Phil Schatzmann </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="abda7a373f6add06597bd3d2b045100d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abda7a373f6add06597bd3d2b045100d1">&#9670;&nbsp;</a></span>parseTimed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmidi_1_1midi__parser__state.html">midi_parser_state</a>&amp; midi::MidiFileParser::parseTimed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Parse data in order to provide the next midi element considering the times. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="MidiFileParser_8h_source.html">MidiFileParser.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
